
import request from '@/utils/request';

// 查询列表
export async function getPwdRulePageList(params) {
  return request('/b/keyrule/queryPageList', {
    method: 'POST',
    params,
  });
}


// 新增
export async function add(params) {
  return request('/b/keyrule/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function deletePwdRule(params) {
  return request('/b/keyrule/deleteByIds', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function update(params) {
  return request('/b/keyrule/update', {
    method: 'POST',
    data: params,
  });
}
